package xyj.sparrow.scheduler.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jim
 * @since 2021-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TaskLog implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId
    private String taskLogId;

    private String taskId;

    private String taskName;

    private String clientIp;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private Integer logStatus;

    private String logMsg;


}
